package IMIC.NGUYENVANTINH.OOP.LEVEL2.EX5;

public class Stock {
	private String symStock;
	private String nameStock;
	private double previousClosingPrice;
	private double currentPrice;
	public Stock(){
		this.symStock = "HTC";
		this.nameStock = "H T C";
	}
	/**
	 * @return the symStock
	 */
	public String getSymStock() {
		return symStock;
	}
	/**
	 * @param symStock the symStock to set
	 */
	public void setSymStock(String symStock) {
		this.symStock = symStock;
	}
	/**
	 * @return the nameStock
	 */
	public String getNameStock() {
		return nameStock;
	}
	/**
	 * @param nameStock the nameStock to set
	 */
	public void setNameStock(String nameStock) {
		this.nameStock = nameStock;
	}
	/**
	 * @return the previousClosingPrice
	 */
	public double getPreviousClosingPrice() {
		return previousClosingPrice;
	}
	/**
	 * @param previousClosingPrice the previousClosingPrice to set
	 */
	public void setPreviousClosingPrice(double previousClosingPrice) {
		this.previousClosingPrice = previousClosingPrice;
	}
	/**
	 * @return the currentPrice
	 */
	public double getCurrentPrice() {
		return currentPrice;
	}
	/**
	 * @param currentPrice the currentPrice to set
	 */
	public void setCurrentPrice(double currentPrice) {
		this.currentPrice = currentPrice;
	}
}
